import { Column, Entity,PrimaryGeneratedColumn } from "typeorm";

@Entity()
export class PartnerType{

    @PrimaryGeneratedColumn({type:'int',name:'id',comment:"自增id"})
    id:number;

    @Column('varchar',{length:20,comment:"类型名称"})
    name:string;
}